package com.beijing.seventykg.web;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.beijing.baseaction.BaseAction;

// 组件名称
//@Component(value = "membersLoginAction")
@Scope(value = "prototype")
// 去除警告
@SuppressWarnings({"serial","rawtypes"})

/**
 * 
 * @Description:登录action
 * @author 70kg
 * @param
 * @date 2018年1月5日
 */
public class MembersLoginAction extends BaseAction{

    /**
     * @Description:用户登录demo
     * @return
     * @throws Exception
     * @author 70kg
     * @date 2018年1月5日下午5:27:20
     */
    public String membersLogin() throws Exception {

        String userName = this.getRequest().getParameter("userName");
        String password = this.getRequest().getParameter("password");
        if(true){
            return "login_success";
        }
        return "login_fail";
    }
    
    

}
